package com.hyh.main;

import com.hyh.model.ingredients.CondimentDecorator;
import com.hyh.model.ingredients.DarkRoast;
import com.hyh.model.ingredients.Mocha;
import com.hyh.model.material.Beverage;
import com.hyh.model.material.Espresso;
import com.hyh.model.material.Beverage.SIZE_TYPE;

public class StarBuzzCoffee {

	
	public static void main(String[] args) {
		
		Beverage espresso = new Espresso();
		espresso.setSize(SIZE_TYPE.TALL);
		Beverage darkRoast = new DarkRoast(espresso);
		Beverage mocha1 = new Mocha(darkRoast);
		Beverage mocha2 = new Mocha(mocha1);
		System.out.println(mocha2.getDescription()+" $"+mocha2.cost());
		
	}

}
